%h1 Listing customers

%table
  %tr
    %th Banned
    %th
    %th
    %th

  - @customers.each do |customer|
    %tr
      %td= customer.banned
      %td= link_to 'Show', customer
      %td= link_to 'Edit', edit_customer_path(customer)
      %td= link_to 'Destroy', customer, :confirm => 'Are you sure?', :method => :delete

%br

= link_to 'New Customer', new_customer_path
